#ifndef QBANG_H
#define QBANG_H

#include "qpixmapitem.h"
#include <QtGui>
#include "qnet.h"
#include <QGraphicsScene>
#include "qfish.h"

extern QFish fish1;
extern int score;
class QBang:public QpixmapItem
{
public:
    QBang(const QString & filename,QGraphicsScene *scence,qreal angle);
    void advance(int phase);
    void docolliding();
    void paint(QPainter *painter,const QStyleOptionGraphicsItem *option,QWidget *widget);
private:
    QGraphicsScene *scence;
};

#endif // QBANG_H
